﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsTest.SysManager
{
    public partial class DataManager : MainTabUserContorl
    {
        string[][] initData = new string[][] { new string[] { "2012-1-1 10:23", "C:/test/a.mdf", "成功" }, new string[] { "2012-1-1 10:23", "C:/test/a.ldf", "成功" } };
        public DataManager()
        {
            InitializeComponent();

            this.dataGridView1.Rows.Add();
            for (int i = 0; i < initData.Length; i++)
            {
                for (int j = 0; j < initData[0].Length; j++)
                {
                    this.dataGridView1.Rows[i].Cells[j].Value = initData[i][j];
                }

            }
        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.openFileDialog1.ShowDialog();
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }
    }
}
